#include<iostream>
#include<map>
#include<vector>
#include<string>
using namespace std;
void add_family(map<string,vector>string>>&families,const string& family_name){
if(families.find(family_name)==families.end())
{families[family_name]=vector<string>();}
}
void add_child(map<string,vector<string>>& families,const string& family_name,const string& child_name){
families[family_name].push_back(child_name);
}
struct DisPlay{
void operator()(pair<string,vector<string>>info){
cout<<info.first<<"child:";
for(auto& w:info.second){
cout<<info.first<<w<<" ";
}
}
};
int main()
{
	map<string, vector<string>>;
add_family(families,"zhang");
add_child(families,"zhang","san");
add_child(families,"zhang","san");
return 0;
}